﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace System
{
    [Serializable]
    public class WaterMarkSetting
    {
        public string Text { set; get; }
        public float TextSize { set; get; }
        public string TextColor { set; get; }
        /// <summary>
        /// 水印图片Base64(最好采用透明png)
        /// </summary>
        public Bitmap ImageMark { set; get; }

        public ContentAlignment Alignment { get; set; }
        public float Margin { get; set; }
        public WaterMarkMode Mode { set; get; }
        public string SavePath { set; get; }
    }

    public enum WaterMarkMode
    {
        Text,
        Image,
        Skip
    }
}